/**
 * 该文件专门为count组件生产action对象
 */
import { INCREMENT, DISCREMENT } from './constant'

export const createIncrementAction = data => ({
    type: INCREMENT, data
})

export const createDiscrementAction = data => ({
    type: DISCREMENT, data
})